package core

import "github.com/oliveagle/jsonpath"

func MapPath(m map[string]interface{}, path string) interface{} {
	res, err := jsonpath.JsonPathLookup(m, path)
	if err != nil {
		return nil
	}
	return res
}
